package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;

import java.util.List;

public interface RoleService {
    PageResult findByPage(QueryPageBean queryPageBean);

    List<Menu> findAllMenu();

    List<Integer> findCheckitemIdsByUsername(String username);

    void editRoleMenu(String username, Integer[] checkitemIds);
}
